package com.molichuxing.services.infrastructure.dao;

import java.util.List;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.OrderStatusFlowBean;
import org.apache.ibatis.annotations.Param;

public interface OrderStatusFlowMapper extends RootMapper<OrderStatusFlowBean> {

	/**
	 * 根据订单号查询
	 * 
	 * @param orderCode
	 *            订单号
	 * @return
	 */
	List<OrderStatusFlowBean> getListByOrderCode(Long orderCode);

    int modifyDealerOrderStatusFlow(@Param("orderCode")Long orderCode, @Param("status") Integer status);

	int modifyDeleteDealerOrderStatusFlow(@Param("orderCode")Long orderCode, @Param("status") Integer status);
}